﻿@using ModalDownload.Models;
<!DOCTYPE html>
<html lang="zh">
    <head>
        <meta content="IE=7.0000" http-equiv="X-UA-Compatible">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - @ViewData["sitename"]</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <div class="tou">
            <div class="logo"><a href="../Home/Index"><img src="/Images/logo.jpg" alt="@ViewData["sitename"]" border="0"></a></div>
            <div class="ggso"><table width="650" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td width="650" height="90" align="center" valign="bottom">
@using (Html.BeginForm("SearchResult", "Home", FormMethod.Post, new { name = "SearchForm" }))
    {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
<table border="0">
<tbody><tr><td nowrap="nowrap" valign="top" align="left" height="32">

</td>
<td nowrap="nowrap">
@Html.TextBox("q",null,new{ size="41",maxlength="255"})
<input type="submit" name="search" value="站内搜索"></td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
</td></tr></tbody></table>
}
</td>
  </tr>
</tbody></table></div>
            <div class="zlm">
                <ul>
                    <li class="
                        @if(ViewBag.Nav=="Index")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("首页","Index","Home")</li>
                    <li class="
                        @if(ViewBag.Nav=="soft")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("设计软件下载","Mail")</li>
                    <li class="
                        @if(ViewBag.Nav=="3d")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("3D模型下载", "List", "Home", new {type="3d" },null)</li>
                    <li class="
                        @if(ViewBag.Nav=="pic")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("贴图素材", "List", "Home", new {type="pic" },null)</li>
                    <li class="
                        @if(ViewBag.Nav=="vr")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("VR材质下载", "List", "Home", new {type="vr" },null)</li>
                    <li class="
                        @if(ViewBag.Nav=="so")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("资源搜索","Search")</li>
                    <li class="
                        @if(ViewBag.Nav=="buy")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("全站模型光盘","Buy")</li>
                    <li class="
                        @if(ViewBag.Nav=="mail")
                        {
                            @:dui
                        }
                        else
                        {
                            @:x
                        }
                        ">@Html.ActionLink("邮件订阅","Mail")</li>
                </ul>
            </div>
            <table width="970" height="35" border="0" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <td align="center">@(new HtmlString(ViewData["notice"].ToString()))</td>
  </tr>
</tbody></table>
        </div>
        <div class="zb">
            @RenderBody()
        </div>
        <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody><tr><td >
    @*页底广告*@
    @ADTable.GetADCode("1")
<p>　</p>


</td></tr></tbody></table>
<div class="dibu">
            @*<div class="dibudh">
                <a href="#">版权申明</a>|
                <a href="#">联系方式</a>|
                <a href="#">广告服务</a>|
                <a href="#">使用帮助</a>|
                <a href="#">合作与发布</a>|
                <a href="#">问题建议</a>
            </div>*@
            <div class="dibuhou">2012&nbsp;&copy;&nbsp;3D侠&nbsp;&nbsp;www.3dxia.com&nbsp;&nbsp;<a href="http://www.miibeian.gov.cn/" target="_blank">@ViewData["icp"]</a></div>
        </div>
        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>
